package com.number;

/**
 * @className: TestDemo
 * @description: TODO 类描述
 * @author: YUANG
 * @date: 2021/12/20
 **/
public class TestDemo {
    public static void main(String[] args) {
        double x = 1.01;
        int x1 = (int) x;
        System.out.println(x1);

        int y = 1;
        System.out.println(y);

    }
}
